package mes.kanban.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 日化2
 * @author zongrui.liu
 */
@Entity
@Table(name="MES_DAILY_CHEMICAL_THIRD")
public class MesDailyChemicalThird implements Serializable {

	private static final long serialVersionUID = 6706910542269585617L;
	

	@Id
	@GeneratedValue(generator="uuid")
	@GenericGenerator(name="uuid",strategy="org.hibernate.id.UUIDGenerator")
	@Column(name="ID")
	private String id;
	
	/**
	 * 同步数据的版本
	 */
	@Column(name="VERSION")
	private Integer version;
	
	
	/**
	 * 同步数据的时间
	 */
	@Column(name="SYNCHRONIZATION_TIME")
	private Date synchronizationTime;


	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}


	public Integer getVersion() {
		return version;
	}


	public void setVersion(Integer version) {
		this.version = version;
	}


	public Date getSynchronizationTime() {
		return synchronizationTime;
	}


	public void setSynchronizationTime(Date synchronizationTime) {
		this.synchronizationTime = synchronizationTime;
	}
	
}
